Optimal. Leaf size=87 \[ \frac {a (4 b c-a d) \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{8 b^{3/2}}+\frac {x \sqrt {a+b x^2} (4 b c-a d)}{8 b}+\frac {d x \left (a+b x^2\right )^{3/2}}{4 b} \]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 87, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.210, Rules used = {388, 195, 217, 206} \begin {gather*} \frac {a (4 b c-a d) \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{8 b^{3/2}}+\frac {x \sqrt {a+b x^2} (4 b c-a d)}{8 b}+\frac {d x \left (a+b x^2\right )^{3/2}}{4 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 195
Rule 206
Rule 217
Rule 388
Rubi steps
\begin {align*} \int \sqrt {a+b x^2} \left (c+d x^2\right ) \, dx &=\frac {d x \left (a+b x^2\right )^{3/2}}{4 b}-\frac {(-4 b c+a d) \int \sqrt {a+b x^2} \, dx}{4 b}\\ &=\frac {(4 b c-a d) x \sqrt {a+b x^2}}{8 b}+\frac {d x \left (a+b x^2\right )^{3/2}}{4 b}+\frac {(a (4 b c-a d)) \int \frac {1}{\sqrt {a+b x^2}} \, dx}{8 b}\\ &=\frac {(4 b c-a d) x \sqrt {a+b x^2}}{8 b}+\frac {d x \left (a+b x^2\right )^{3/2}}{4 b}+\frac {(a (4 b c-a d)) \operatorname {Subst}\left (\int \frac {1}{1-b x^2} \, dx,x,\frac {x}{\sqrt {a+b x^2}}\right )}{8 b}\\ &=\frac {(4 b c-a d) x \sqrt {a+b x^2}}{8 b}+\frac {d x \left (a+b x^2\right )^{3/2}}{4 b}+\frac {a (4 b c-a d) \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{8 b^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.16, size = 85, normalized size = 0.98 \begin {gather*} \frac {\sqrt {a+b x^2} \left (\sqrt {b} x \left (a d+4 b c+2 b d x^2\right )-\frac {\sqrt {a} (a d-4 b c) \sinh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{\sqrt {\frac {b x^2}{a}+1}}\right )}{8 b^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.10, size = 77, normalized size = 0.89 \begin {gather*} \frac {\left (a^2 d-4 a b c\right ) \log \left (\sqrt {a+b x^2}-\sqrt {b} x\right )}{8 b^{3/2}}+\frac {\sqrt {a+b x^2} \left (a d x+4 b c x+2 b d x^3\right )}{8 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.16, size = 158, normalized size = 1.82 \begin {gather*} \left [-\frac {{\left (4 \, a b c - a^{2} d\right )} \sqrt {b} \log \left (-2 \, b x^{2} + 2 \, \sqrt {b x^{2} + a} \sqrt {b} x - a\right ) - 2 \, {\left (2 \, b^{2} d x^{3} + {\left (4 \, b^{2} c + a b d\right )} x\right )} \sqrt {b x^{2} + a}}{16 \, b^{2}}, -\frac {{\left (4 \, a b c - a^{2} d\right )} \sqrt {-b} \arctan \left (\frac {\sqrt {-b} x}{\sqrt {b x^{2} + a}}\right ) - {\left (2 \, b^{2} d x^{3} + {\left (4 \, b^{2} c + a b d\right )} x\right )} \sqrt {b x^{2} + a}}{8 \, b^{2}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.60, size = 70, normalized size = 0.80 \begin {gather*} \frac {1}{8} \, \sqrt {b x^{2} + a} {\left (2 \, d x^{2} + \frac {4 \, b^{2} c + a b d}{b^{2}}\right )} x - \frac {{\left (4 \, a b c - a^{2} d\right )} \log \left ({\left | -\sqrt {b} x + \sqrt {b x^{2} + a} \right |}\right )}{8 \, b^{\frac {3}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 96, normalized size = 1.10 \begin {gather*} -\frac {a^{2} d \ln \left (\sqrt {b}\, x +\sqrt {b \,x^{2}+a}\right )}{8 b^{\frac {3}{2}}}+\frac {a c \ln \left (\sqrt {b}\, x +\sqrt {b \,x^{2}+a}\right )}{2 \sqrt {b}}-\frac {\sqrt {b \,x^{2}+a}\, a d x}{8 b}+\frac {\sqrt {b \,x^{2}+a}\, c x}{2}+\frac {\left (b \,x^{2}+a \right )^{\frac {3}{2}} d x}{4 b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.35, size = 81, normalized size = 0.93 \begin {gather*} \frac {1}{2} \, \sqrt {b x^{2} + a} c x + \frac {{\left (b x^{2} + a\right )}^{\frac {3}{2}} d x}{4 \, b} - \frac {\sqrt {b x^{2} + a} a d x}{8 \, b} + \frac {a c \operatorname {arsinh}\left (\frac {b x}{\sqrt {a b}}\right )}{2 \, \sqrt {b}} - \frac {a^{2} d \operatorname {arsinh}\left (\frac {b x}{\sqrt {a b}}\right )}{8 \, b^{\frac {3}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \sqrt {b\,x^2+a}\,\left (d\,x^2+c\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 5.68, size = 144, normalized size = 1.66 \begin {gather*} \frac {a^{\frac {3}{2}} d x}{8 b \sqrt {1 + \frac {b x^{2}}{a}}} + \frac {\sqrt {a} c x \sqrt {1 + \frac {b x^{2}}{a}}}{2} + \frac {3 \sqrt {a} d x^{3}}{8 \sqrt {1 + \frac {b x^{2}}{a}}} - \frac {a^{2} d \operatorname {asinh}{\left (\frac {\sqrt {b} x}{\sqrt {a}} \right )}}{8 b^{\frac {3}{2}}} + \frac {a c \operatorname {asinh}{\left (\frac {\sqrt {b} x}{\sqrt {a}} \right )}}{2 \sqrt {b}} + \frac {b d x^{5}}{4 \sqrt {a} \sqrt {1 + \frac {b x^{2}}{a}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________